package com.wust.dao;

import com.wust.entity.DayCount;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

public interface DayCountMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(DayCount record);

    int insertSelective(DayCount record);

    DayCount selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(DayCount record);

    int updateByPrimaryKey(DayCount record);

    DayCount selectByUserIdAndBeginTimeAndEndTime(@Param("userId")Integer userId, @Param("beginTime")Date beginTime, @Param("endTime")Date endTime);
}